ListResult

@Serializable
data class ListResult<T>(val page: Int = 1, val perPage: Int = 0, val totalItems: Int = 0, val totalPages: Int = 0, val items: List<T>)

The base class used for list queries

Constructors

Link copied to clipboard
constructor(page: Int = 1, perPage: Int = 0, totalItems: Int = 0, totalPages: Int = 0, items: List<T>)

Properties

Link copied to clipboard
val items: List<T>
Link copied to clipboard
val page: Int = 1
Link copied to clipboard
val perPage: Int = 0
Link copied to clipboard
val totalItems: Int = 0
Link copied to clipboard
val totalPages: Int = 0

Functions

Link copied to clipboard
open override fun toString(): String